package com.situ.mall.pattern.abstractfactory;

public class Client {
    public static void main(String[] args) {
        //抽象工厂的本质是：选择产品簇的实现
        // IFactory factory = new DellFactory();
        IFactory factory = new HPFactory();
        IKeyboard keyboard = factory.crateKeyboard();
        IMonitor monitor = factory.crateMonitor();
        IMainframe mainframe = factory.crateMainframe();
    }
}
